<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>

<body>
  <div>
    <a href="http://127.0.0.1:5501/index.html" class="cursor" style="color: #ff0000">查看</a>
    <div class="csss" onclick="ok()">asdasd</div>
  </div>
  <script>
    let metas = document.createElement("meta");
    metas.name = "referrer";
    metas.content = "unsafe-url";
    document.getElementsByTagName("head")[0].appendChild(metas)
    function ok() {
      console.log(2)
      window.open(`http://localhost:8080/#/record`)
    }
  </script>
</body>

</html>